package com.ilxqx.framework.system.validator.anno;

import com.ilxqx.framework.system.validator.AlphaValidator;

import javax.validation.Constraint;
import javax.validation.Payload;
import java.lang.annotation.*;

@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Constraint(validatedBy = AlphaValidator.class)
public @interface Alpha {

	String message() default "{alpha}";

	Class<?>[] groups() default {};

	Class<? extends Payload>[] payload() default {};

}
